package main

import "fmt"

func main() {
	b := []int{3, 2, 1}
	maxArea(b)
	fmt.Print(b)
}

func maxArea(height []int) int {
	return 1
}

func area(height []int, x int, y int) int {
	return (y - x) * min(height[x], height[y])
}

func min(x, y int) int {
	if x < y {
		return x
	} else {
		return y
	}
}
